package com.food.chronicles.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.food.chronicles.entity.primary.Recipe;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 食谱表 服务类
 * </p>
 *
 * @author 牧之
 * @since 2025-05-31
 */
public interface IRecipeService extends IService<Recipe> {

    @Transactional(transactionManager = "primaryTransactionManager")
    boolean saveBatchWithTransaction(List<Recipe> entityList);
}
